package xyz.xtt.user.api.enums;

/**
 * 用户状态
 * 
 * @author huqibo
 * @date 2025/01/20
 */
public enum UserStatus {
	/**
	 * 正常
	 */
	NORMAL(0, "正常"),
	/**
	 * 禁用
	 */
	LOCK(1, "禁用"),
	/**
	 * 注销
	 */
	LOGOFF(2, "注销"),;

	private int code;
	private String desc;

	UserStatus(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public int getCode() {
		return code;
	}

	public String getDesc() {
		return desc;
	}

}
